{% if object.type == 'withdraw' and object.status == 'waiting'%}
<a class="btn btn-sm" href="{{ admin.generateObjectUrl('withdraw', object) }}">处理提现</a>
{% endif %}